Calculation of Gauss Quadrature Rules

نویسندگان

  • John H. Welsch
  • JOHN H. WELSCH
چکیده

Several algorithms are given and compared for computing Gauss quadrature rules. It is shown that given the three term recurrence relation for the orthogonal polynomials generated by the weight function, the quadrature rule may be generated by computing the eigenvalues and first component of the orthornormalized eigenvectors of a symmetric tridiagonal matrix. An algorithm is also presented for computing the three term recurrence relation from the moments of the weight function. | Introduction. Most numerical integration techniques consist of approximating the integrand by a polynomial in a region or regions and then integrating the polynomial exactly. Often a complicated integrand can be factored into a nonnegative "weight" function and another function better approximated by a polynomial, thus /b rb N g(t)dt = I o>(t)f(t)dt « 2>y/(iy) . u •'a j=l Hopefully, the quadrature rule {w¡, íyjyLi corresponding to the weight function co(i) is available in tabulated form, but more likely it is not. We present here two algorithms for generating the Gaussian quadrature rule defined by the weight function when : (a) the three term recurrence relation is known for the orthogonal polynomials generated by w(£), and (b) the moments of the weight function are known or can be calculated. In [6], Gautschi presents an algorithm for calculating Gauss quadrature rules when neither the recurrence relationship nor the moments are known. 1. Definitions and Preliminaries. Let w(x) ^ 0 be a fixed weight function defined on [a, b]. For o>(x), it is possible to define a sequence of polynomials po(x), pi(.x), ■ ■ ■ which are orthonormal with respect to w(x) and in which pn(x) is of exact degree n so that P I w{x)pm{x)pn{x)dx = 1 when m = n , (1.1) = 0 when m ?¿ n . The polynomial pn(x) = kn TFi=i (x — ti) ,kn> 0, has n real roots a < h < í2 < Received November 13, 1967, revised July 12, 1968. * The work of the first author was in part supported by the Office of Naval Research and the National Science Foundation; the work of the second author was in part supported by the Atomic Energy Commission. ** Present address: Hewlett-Packard Company, Palo Alto, California 94304. 221 222 GENE H. GOLUB AND JOHN H. WELSCH ■ • • < í„ < b. The roots of the orthogonal polynomials play an important role in Gaussian quadrature. Theorem. Letf(x) £ C2N[a, b], then fb N j-(2A0 /■.-. (2N)\h where Wi = fciV+l k r+i ! (n ,(t s dpN(t)\ \ n ptf+i(tj)pN'(tj) \ dt I «=,«./ j = l,2,---,N, Thus the Gauss quadrature rule is exact for all polynomials of degree ;£ 2N — 1. Proofs of the above statements and Theorem can be found in Davis and Rabinowitz [4, Chapter 2]. Several algorithms have been proposed for calculating {wj, tj)Nj-i ;cf. [10], [11] . In this note, we shall give effective numerical algorithms which are based on determining the eigenvalues and the first component of the eigenvectors of a symmetric tridiagonal matrix. 2. Generating the Gauss Rule. Any set of orthogonal polynomials, {pj(.x)}¥-i, satisfies a three term recurrence relationship : (-1) PÂ%) = (fl& + bj)pj-i(x) Cjpj-ïix), j= 1,2, ••-,#; p-i(x) = 0, p0(x) = l, with a, > 0, Cj > 0. The coefficients {a¡, b¡, c¡\ have been tabulated for a number of weight functions u>(x), cf. [8]. In Section 4 we shall give a simple method for generating {ay, bj, Cj] for any weight function. Following Wilf [12], we may identify (2.1) with the matrix equation

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Calculation of Gauss-Kronrod quadrature rules

The Jacobi matrix of the (2n+1)-point Gauss-Kronrod quadrature rule for a given measure is calculated efficiently by a five-term recurrence relation. The algorithm uses only rational operations and is therefore also useful for obtaining the Jacobi-Kronrod matrix analytically. The nodes and weights can then be computed directly by standard software for Gaussian quadrature formulas.

متن کامل

Quadrature rules for rational functions

It is shown how recent ideas on rational Gauss-type quadrature rules can be extended to Gauss-Kronrod, Gauss-Turr an, and Cauchy principal value quadrature rules. Numerical examples illustrate the advantages in accuracy thus achievable. 0. Introduction The idea of constructing quadrature rules that are exact for rational functions with prescribed poles, rather than for polynomials, has received...

متن کامل

Computation of Gauss-kronrod Quadrature Rules with Non-positive Weights

Recently Laurie presented a fast algorithm for the computation of (2n + 1)-point Gauss-Kronrod quadrature rules with real nodes and positive weights. We describe modifications of this algorithm that allow the computation of Gauss-Kronrod quadrature rules with complex conjugate nodes and weights or with real nodes and positive and negative weights.

متن کامل

Degree optimal average quadrature rules for the generalized Hermite weight function

Department of Mathematics, University of Gaziantep, Gaziantep, Turkey e-mail address : [email protected] Abstract For the practical estimation of the error of Gauss quadrature rules Gauss-Kronrod rules are widely used; but, it is well known that for the generalized Hermite weight function, ωα(x) = |x|2α exp(−x2) over [−∞,∞], real positive Gauss-Kronrod rules do not exist. Among the alternati...

متن کامل

Positivity of the Weights of Extended Gauss-Legendre Quadrature Rules

We show that the weights of extended Gauss-Legendre quadrature rules are all positive.

متن کامل

Stable Computation of High Order Gauss Quadrature Rules Using Discretization for Measures in Radiation Transfer

The solution of the radiation transfer equation for the Earth's atmosphere needs to account for the re ectivity of the ground. When using the spherical harmonics method, the solution for this term involves an integral with a particular measure that presents numerical challenges. We are interested in computing a high order Gauss quadrature rule for this measure. We show that the two classical al...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010